Tighten external STEP solid count guards#96
Conversation
|
@Digz0 is attempting to deploy a commit to the tscircuit Team on Vercel. A member of the Team first needs to authorize it. |
|
The only failing status is Vercel team authorization for the
So the remaining Vercel failure appears to require maintainer authorization rather than a code change in this branch. |
|
Added the short demo video requested by the bounty instructions: It shows the exact regression this PR guards: external STEP output must have the board plus the expected unique model solids, and duplicate component placements must stay as Local verification rerun before posting:
GitHub code checks are still green ( AI-assisted with OpenAI Codex; I reviewed the video and reran the local verification above before posting. |
…uit#6 regression Tighten STEP regression coverage for two board-only fixtures that were previously guarded only by a loose `meshes.length > 0` OCCT import check. repro02 (rotated-pill hole board): - Adds `solidCount = 1` assertion to guard against the complex rotated-pill hole cutting code fragmenting the board into multiple MANIFOLD_SOLID_BREP entities or spuriously generating component boxes for source_components that have no pcb_component entry. repro03 (hole-wrapper component exclusion): - Adds MANIFOLD_SOLID_BREP presence check (previously absent). - Adds `solidCount = 1` assertion to guard against hole-wrapper pcb_components (subcircuit containers) incorrectly receiving fallback component boxes. If such a regression reoccurs, solidCount would jump above 1 and the test would fail. Both paths are non-overlapping with the existing open guards: - basics04 / repro01 → component box counts (PRs tscircuit#94, tscircuit#97) - basics06 / kicad-step → external STEP model counts (PR tscircuit#96) /claim tscircuit#6
/claim #6
Contributes to #6
Summary:
basics06so the external STEP-only fixture must emit exactly the board plus two unique external model solidsMAPPED_ITEMThis is a narrow regression guard for the external STEP merge path; it does not overlap with the generated component-box solid count guard or pcb_component fallback-box implementation PRs.
Demo:
https://github.com/digzrow-coder/circuit-json-to-step/releases/download/pr-96-demo-20260515/pr-96-external-step-solid-guards-demo.mp4
Tests:
Local verification rerun before adding the demo:
Note: GitHub code checks are green (
test,format-check,type-check). The remaining Vercel status is the tscircuit team authorization gate, not a branch code failure.AI-assisted with OpenAI Codex; I reviewed the diff, proof asset, and validation output before posting.